package com.baoteng.rbspy.model.response.quote;

import com.baoteng.rbspy.model.Id;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonInclude(Include.NON_EMPTY)
public class PrpCprofitFactors {
//	private List<String> prpCprofitFactorFixes;
	Integer index;
    private String profitName;
    private String chooseFlag;
    private String flag;
    private Integer rate;
    private Id id;
    private Integer upperRate;
    private Integer lowerRate;
    private String operateTimeForHis;
    private String riskCode;
    private String condition;
    private String insertTimeForHis;
    private String prpCmain;
    
    public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public Double tempRate(){
		return rate!=null?(rate.doubleValue()/100):null;
	}
    
	public String getProfitName() {
		return profitName;
	}
	public void setProfitName(String profitName) {
		this.profitName = profitName;
	}
	public String getChooseFlag() {
		return chooseFlag;
	}
	public void setChooseFlag(String chooseFlag) {
		this.chooseFlag = chooseFlag;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	
	public Integer getRate() {
		return rate;
	}

	public void setRate(Integer rate) {
		this.rate = rate;
	}

	public Id getId() {
		return id;
	}

	public void setId(Id id) {
		this.id = id;
	}

	public Integer getUpperRate() {
		return upperRate;
	}

	public void setUpperRate(Integer upperRate) {
		this.upperRate = upperRate;
	}

	public Integer getLowerRate() {
		return lowerRate;
	}

	public void setLowerRate(Integer lowerRate) {
		this.lowerRate = lowerRate;
	}

	public String getOperateTimeForHis() {
		return operateTimeForHis;
	}
	public void setOperateTimeForHis(String operateTimeForHis) {
		this.operateTimeForHis = operateTimeForHis;
	}
	public String getRiskCode() {
		return riskCode;
	}
	public void setRiskCode(String riskCode) {
		this.riskCode = riskCode;
	}
	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	public String getInsertTimeForHis() {
		return insertTimeForHis;
	}
	public void setInsertTimeForHis(String insertTimeForHis) {
		this.insertTimeForHis = insertTimeForHis;
	}
	public String getPrpCmain() {
		return prpCmain;
	}
	public void setPrpCmain(String prpCmain) {
		this.prpCmain = prpCmain;
	}
    
}
